<template>
    <div>
        <router-view />
        <van-tabbar v-model="active">
  <van-tabbar-item icon="home-o" @click="$router.push('/sy')">首页</van-tabbar-item>
  <van-tabbar-item icon="search" @click="$router.push('/fl')">分类</van-tabbar-item>
  <van-tabbar-item icon="friends-o" @click="$router.push('/gwc')">购物车</van-tabbar-item>
  <van-tabbar-item icon="setting-o" @click="$router.push('/wd')">我的</van-tabbar-item>
</van-tabbar>
    </div>
</template>

<script>
    export default {
          data() {
    return {
      active: 0,
    };
  },
    }
</script>

<style  scoped>


</style>